package com.logwire.handler;import lombok.Data;import org.springframework.http.HttpStatus;@Datapublic class AppServerException extends RuntimeException {	private HttpStatus httpStatus;	private Integer code;	private String message;	public AppServerException(HttpStatus httpStatus, Integer code, String message) {		super(message);		this.httpStatus = httpStatus;		this.code = code;		this.message = message;	}	public static AppServerException throwException(AppExceptionEnum exceptionEnum) {		return new AppServerException(exceptionEnum.getStatus(), exceptionEnum.getCode(), exceptionEnum.getMessage());	}}